#ifndef _FIELD_H_
#define _FIELD_H_

#include"figure.h"

class Field{
private:
	int num_of_figurs;
	Figure* figurs[32];
	bool q_move;
public:
	Field();
	bool is_check(bool) const;
	bool is_mate() const;
	bool move(pos, pos);

	bool kill_figure(int);
	
	bool is_barrier_not_exist(Figure*, const pos&) const;

	void draw() const;

	~Field();	
};
#endif
